feat(release-publish-oci): publish tag, changelog and OCI annotations - #98
Merged
Conversation
The registered oci_image revision now carries the pushed image tag in its meta and an annotations blob: the release-please notes as the curated changelog plus org.opencontainers.image source/revision/version keys. Annotations are last-write-wins full replacement, so every run sends the complete set; the release body is truncated at its first '## Artifact' section so backfill re-runs never feed our own appended metadata back in. The CLI channel moves alpha-packages -> alpha, which carries the new --tag/--changelog-file/--annotation flags. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rides the annotations contract shipped in main-service-api#340 and the CLI flags from cli#224 (available on the
alphachannel).What changes for every caller (scopes-lambda, services-s-3, services-endpoint-exposer, scopes-static-files, services-postgresql-rds server image)
np artifact createin the finalize job now sends:--tag— the tag docker-build-push-ecr actually pushed, into the revision'smeta--changelog-file— the release-please notes (the GitHub release body, truncated at the first## Artifactsection so backfill re-runs never re-ingest our own appended metadata); skipped when the body is empty--annotation org.opencontainers.image.source/revision/version— repo URL, the tag's commit (not the triggering sha — they differ onexisting_tagbackfills), and the git tagAnnotations are last-write-wins full replacement on the revision, so each run deliberately sends the complete set.
Also moves the default
np_cli_versionfromalpha-packagestoalpha, which carries the new flags.The devops UI renders these per version once frontend-devops-application#699 + main-web-backend-for-frontend#524 land.
🤖 Generated with Claude Code